/**
 * @author xinjie.txt
 * @time: 2020年7月9日 下午10:07:30
 */
package com.jiepu.exercise.primary.chapter5.exercise5;

/**
 * @Description:
 * @author xinjie.txt
 */
public class Customer {

	private Account account; 	// 账户
	private String name;		// 姓名

	/**
	 * @return the account
	 */
	public Account getAccount() {
		return account;
	}

	/**
	 * @param account
	 *            the account to set
	 */
	public void setAccount(Account account) {
		this.account = account;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name
	 *            the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	public Customer() {
		super();
		// TODO Auto-generated constructor stub
	}

	/**
	 * @param account
	 * @param name
	 */
	public Customer(Account account, String name) {
		super();
		this.account = account;
		this.name = name;
	}

	public Customer(String name) {
		this.name = name;
	}

}
